{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}
{if !$agora_user.is_guest or $forum.subscribed}
<ul id="ag_f_menu">
	<li class="ag_node">
		<a href="javascript:void(0);" class="ag_f_menu_title">##Forum Tools##</a>
		<ul>
			{if !$agora_user.is_guest}
			<li class="ag_li">
				<a href="{url task=forum action=mark_read id=$forum.id}" class="icon_show_new">##Mark Forum Read##</a>
			</li>
			{/if}
			{* <li class="ag_li">
				<a href="{url task=tools page=forum action=subscribe id=$forum.id}" class="icon_subscribe">##Subscribe to Forum##</a>
			</li> *}
			<li class="ag_li">  
				{if !$forum.subscribed}
				<a href="{url task=forum action=subscribe_forum id=$forum.id}" class="icon_subscribe">##Subscribe to Forum##</a>
				{else}
				<a href="{url task=forum action=unsubscribe_forum id=$forum.id}" class="icon_unsubscribe">##Unsubscribe to Forum##</a>
				{/if}
			</li>
		</ul>
	</li>
</ul>
{/if}